<!-- TWO STEPS TO INSTALL SLIDESHOW SCRIPT: 1. Copy the entire script below into your HTML document 2. Customize to suit your needs! (change page2.html etc...) --> <!-- STEP ONE: Copy this entire document into your HTML document --> <HTML> <HEAD> <TITLE>Your Site's Title Here</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin function makeArray() { this.length = makeArray.arguments.length; for (var i = 0; i < this.length; i++) this[i + 1] = makeArray.arguments[i]; } function makeSlideShow (obj, wait, pre, url) { this.curText = ''; this.posit = 1; this.word = obj; this.length = obj.length; this.pre = pre; this.wait = wait; this.url = url; this.display = displaySlideShow; } function displaySlideShow() { if (this.posit <= this.length) { this.curText = this.word[this.posit] outStringWord = blankFrameTop + this.pre + this.curText + blankFrameBottom; parent.draw.location = 'javascript:parent.outStringWord'; this.posit++; } else top.location = this.url; } function displayLoop() { if (wordIntro.posit <= wordIntro.length) reDraw = setTimeout('displayLoop()', wordIntro.wait); wordIntro.display(); } // This is where you customize the messages! // Look at the next line! Those are your customizable messages! var words = new makeArray ('', 'Welcome to The Total Java Scripts 99 !!', 'A Cut & Paste JavaScript library for YOU!', 'Now we will show you the source code for this script....', 'It is 1 0 0 % F R E E !!'); var wordIntro = new makeSlideShow (words, 2500, '<CENTER><BR><BR><BR><BR><BR><BR><BR><BR><FONT SIZE = 5>', 'http://www.yoursite.com/next-page.html'); // change next-page.html in the previous line to reflect your site! var blankFrameTop = '<HTML><BODY BGCOLOR = "#000000" TEXT = "#FFFFFF">'; var blankFrameBottom = '</BODY></HTML>'; var blankFrame = blankFrameTop + blankFrameBottom; document.write ('<FRAMESET onLoad = "displayLoop()" ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>'); document.write ('<FRAME SCROLLING = AUTO SRC = "javascript:void(0)" NAME = "draw" MARGINWIDTH = 2 MARGINHEIGHT = 2>'); document.write ('</FRAMESET>'); // End --> </SCRIPT> </HEAD> <BODY> <a href="page2.html">page2.html"</a> </BODY> </HTML> <!-- STEP TWO: Change the messages and the destination URL --> <!-- Script Size: 2.60 KB -->
1998 Copyright (C) Next Step All Rights Reserved